package com.example.bookrecommendationjava.model;

/**
 * @BelongsProject: book-recommendation-java
 * @BelongsPackage: com.example.bookrecommendationjava.model
 * @Author: ZhShy
 * @CreateTime: 2022-03-14 17:43
 * @Description:
 */
public class Book {
    private Integer bookId;
    private String bookUrl;
    private String bookImgUrl;
    private String bookName;
    private String bookAuthor;


    public Book(String bookUrl, String bookImgUrl, String bookName, String bookAuthor) {
        this.bookUrl = bookUrl;
        this.bookImgUrl = bookImgUrl;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;

    }

    public Book() {
    }

    public Integer getBookId() {
        return bookId;
    }

    public void setBookId(Integer bookId) {
        this.bookId = bookId;
    }

    public String getBookUrl() {
        return bookUrl;
    }

    public void setBookUrl(String bookUrl) {
        this.bookUrl = bookUrl;
    }

    public String getBookImgUrl() {
        return bookImgUrl;
    }

    public void setBookImgUrl(String bookImgUrl) {
        this.bookImgUrl = bookImgUrl;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getBookAuthor() {
        return bookAuthor;
    }

    public void setBookAuthor(String bookAuthor) {
        this.bookAuthor = bookAuthor;
    }


    public Book(Integer bookId, String bookUrl, String bookImgUrl, String bookName, String bookAuthor) {
        this.bookId = bookId;
        this.bookUrl = bookUrl;
        this.bookImgUrl = bookImgUrl;
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
    }
}
